Nevron Open Vision Documentation
Nevron.Nov.Serialization Namespace / NDomNodeSerializer Class / SaveToFile Method / SaveToFile(NNode[],NFile,ENPersistencyFormat) Method
The nodes to serialize.
The file to serialize the nodes to.
The persistency format.


In This Topic
    SaveToFile(NNode[],NFile,ENPersistencyFormat) Method
    In This Topic
    Saves the specified DOM nodes to the specified file.
    Syntax
    'Declaration
     
    
    Public Overloads Function SaveToFile( _
       ByVal nodes() As NNode, _
       ByVal file As NFile, _
       ByVal format As ENPersistencyFormat _
    ) As NPromise(Of NUndefined)
    'Usage
     
    
    Dim instance As NDomNodeSerializer
    Dim nodes() As NNode
    Dim file As NFile
    Dim format As ENPersistencyFormat
    Dim value As NPromise(Of NUndefined)
     
    value = instance.SaveToFile(nodes, file, format)

    Parameters

    nodes
    The nodes to serialize.
    file
    The file to serialize the nodes to.
    format
    The persistency format.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also